Lab 6 - Data Maps, Interactive Graphs and Animations from the COVID-19 reporting data

All data was retrieved from the GitHub Repo for Novel Coronavirus (COVID-19) Cases (Dong, Du, and Gardner 2020).

All data wrangling and visualization was completed in R (R Core Team 2019).

Challenge Exercise 1

For the above graph “COVID-19 Deaths” summarize the counts for each Country on the graph and update the graph to 9/26/2020. You are doing some real life data wrangling. Data is not always in the form that you expected, so it is important to check what the results of each step are. You can summarize the counts for each country and find the median Lat and Long as a way of summarize the Lat and Long from each state. However, the US and several other countries do not have counts. This is because for some US (and other countries) the Lat and Long are NA. One strategies is to simply remove this data (which is fine for this class).

Using the mean or median(Lat) and (Long) is still not perfect. Some countries are still centered in the ocean. This is ok for ex1. You can use ggplotly to help trouble shoot by putting the Country_Region as text in the hover box

Challenge Exercise 2

Update Anisa Dhana’s graph layout of the US to 9/26/2020. You may need to adjust the size of the points.

Challenge Exercise 3

Update the graph “Number of Confirmed Cases by US County” to 9/26/2020 and use a different color scheme or theme

Challenge Exercise 4

Make an interactive plot using a state of your chosing using a theme different from used in the above examples.

References

Dong, Ensheng, Hongru Du, and Lauren Gardner. 2020. “An Interactive Web-Based Dashboard to Track COVID-19 in Real Time.” The Lancet Infectious Diseases 20 (5). Elsevier: 533–34. https://doi.org/10.1016/S1473-3099(20)30120-1.

R Core Team. 2019. “R: A Language and Environment for Statistical Computing.” Vienna, Austria: R Foundation for Statistical Computing.